package com.dlc.beijingrfid.helper;

import com.dlc.commonlibrary.utils.PrefUtil;

/**
 * Created by Administrator on 2017/8/17.
 */

public class PreHelper {
    public final static String BLE_DEVICE_ADDRESS = "";


    /**
     * 保存蓝牙地址
     * @param address
     */
    public static void saveBleDevice(String address){
        PrefUtil.getDefault().saveString(BLE_DEVICE_ADDRESS,address);
    }

    /**
     * 获取蓝牙地址
     * @return
     */
    public static  String getBleDevice(){
        return PrefUtil.getDefault().getString(BLE_DEVICE_ADDRESS,"");
    }
}
